home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer 7.44
/
PC Gamer.zip
/
PCG_7.44.BIN
/
Data
/
items.pcg
/
scripts
/
DefineButton2_299
/
BUTTONCONDACTION on(release).as
< prev
next >
Wrap
Text File
|
2004-06-18
|
779b
|
32 lines
on(release){
TheCurrentitem = 0;
TopItem = 1;
GameBox_y = 224;
searchstr = "";
arGamesDBMain = arGamesDBMaster;
arGamesDBIndex = arGamesIndexMaster;
arGamesDBSlice = arGamesDBMaster;
arGamesIndexSlice = arGamesIndexMaster;
var i = 1;
while(scrollMax >= i)
{
set("menugame" + i,arGamesDBSlice[i - 1]);
set("gamenumber" + i,i);
i += 1;
}
if(dbCount == currentGameCount)
{
setProperty("itemBar" + lastGameBox, _alpha, 10);
}
setProperty("itemBar1", _alpha, 20);
theCurrentGame = arGamesDBIndex[0];
numitems = arGamesDBSlice.length;
num_Games = numitems;
lastButton = 1;
topDB = 1;
dbCount = 1;
currentGameCount = 1;
lastGameBox = 1;
gotoAndPlay(13);
}